add chap08 example