class and enum