Implemented random numbers