predicting random number