finish exercise 1.8