added rounding to percentage calc