implemented DAO functions to pay off debts