added exercise 8.2