patterns are now configurable