random generator has been added