finish exercise chapter 4