renamed getState() to stateProperty()