changes to template.html