Finish exercise 2.6