pattern-in-box