normalizing the scores