sequence recognizer using schematics