tracking a uniform random number