finished seeding function