added template to page