Added Random number generator