random seeder method