major rework of schematic interaction state machine