Added random generator to params