Percentage calculation changed. Only the average is used