how to randomize a number?