Added execute/store portion of state machine