progress on exercises from chapter 10