chap1 exercise part 1