shifted to percentage and investment amount
Merge branch 'debtcalc' into testing