adapt how percentages are calculated