Chapter8 exercise 1-5