Lender stuff and Added APIs