changes to random seeding