Exercise 19 modified