Added random number generator.