Start defining state machine structures