Refer to state and nxtData