use static random generator