changed the score computation