named enums defined in one place