added calculate scores