chapter 8 refac