more chapter 7 code