add fields to template complete