Exercise 11 modified