chapter 5 end of layout