helps to calculate fees among fiends