add class-designator, compute-class