complete chapter 2 exercise