endgame evaluation working, comment added