working through chapter 5