making it generate random number