Add a map to the local state. remove some poiners