remove puts statements from and add comments for refactoring to, debts:calculate