template is done