moved data into gamestate