minor changes for score computation