added amount_outstanding and discount