Adding Chapter 8 Sample Code