Calculating the Score