simple way to make patterns