Did chapter 5 exercises