Added endGame