Changed stateId assignment to accessor