added exercise 3.2