change random generator

change random generator