move shared template variables