Learning to make loans do the job