inverted state dictionary created