Exercise 143: end of class