loanPattern added