this should probably be something like s.enqueueStateReturn(stateCall, matchResult.matchEnd);