simplify class