adding scoring function