Examples (need cleanup) for chapter 7