Debt and mezzanine funds: how does it work?