COA to template