exersices from chapter 5