change pattern.types and choose which patterns to use