Finish exercise 6