mi_main_f