Move seeder into a method