edits to template