simplify class dec