use positive pattern checking, reuse method