finish exercise 1-10