added exercise 1.21