deleting class 1 and class2