forgot to expose getStates