finished chapter 24 examples