finish exercise 6