Mapping of the states