added mpprogress do_code
added declare_do_fun for progress