feat(chapter-5): examples for chapter 5