With patterns

With patterns