Identifying and Extending Patterns