make patterns static