improve random number generator4