added winning endgame