rpi chapter 17