end of game changes