changed f_info and f_exe in learners to allow user customized functions