fixed seeding stuff still double checking g calcs