trying to calculate scores