debt conversion with valuation caps appears to be working, needs testing