bn_main_program