replace accessing _state with setStatus()