chapter 9 assign4