added grid
before seeding