pattern detection: first working dual