changed the scoring to be more accurate