Important change to the pattern template