scores compurtation impl-ed