improve random number generator3