making change gamestate work