reworked endgame