trying to get the random number to work