Simplify randomSeedGenerator - make it a simple function