refines chapter 7 for better readability