add logic for round percentages