Adding to seeding function