Edits to template_method