Patterns and Masks