keep instance of random generator instead of re-creating