Ryan's chapter 6 stuff