simplify classes