Patterns

set patterns moved into their own files.