add current class definition