Chapter 01 example code