Smart pattern

Make pattern smart.