chapter 5 demo