initial template is set