adding method to calculate a score