Changed to mt_rand