changes to template