added exercise 2.1