end of class 3