working on lending feature