added end game
merged