added seq to Patterns