did away with prio_ map and using enum ordinals