More exercises chapter 3