Patterns and motifs