Random number corrected