lecture 16- Exercise 2