refactored percentage again