use setClasses