no need for generate_create_and_close_templates