main_code