get the state too