map arrays and enums