endgame work