Random number generator added