working next state