added exercise 2.5