added name attribute to template