Finish exercise 6.