endgame value setting