function added to seed