template complete