adding log probabilities to score