in media res for the state machine for the demultiplex controller