changed data to arrays for seeding