Reenable random number generation method