Use number generator with seed