modify end game