ending point in class