removed main_template