Adding exercise 2.8