integrated pattern detector to the system