stract all classes, case1