random number debugging