refactored loan.inquiry()