removed the remnants of enum_map