Did chapter 6 exercises