Chapter 06 example code repeat