(re) done most of exercises of chapter 3