resolving issues about computing the score