copied over template files