added exercise 17