put things back the way they were now still have problem with assigning player ids