fixed legal, added discount to calculation & removed "cost of borrowing"