modified template.html