Make sure score is only calculated in one place.