main_template