change copy to .template method