random number to rotate