optimized the eligeable Loan codes