Different outputs with random numbers - Modular