template and view copy