rename global EndGames