adding new algorithm for scoring