fix seeding results and create api for results