changed template copy