some chapter 5 exercises