fixed random number generator.