random generator is changed