migrating to new template