fixed bugs, added some seed data