finish chap8 problems