added exercise 1.12