start of template