percentage calculation changed