removed inverse map from map. Placed it in state as a method instead.