add new class and enum