added endgame