internal State.reset method