getState cypher implemented