Add a few comments in the scoring function