Added variation to TemplatePattern