end of class2