Updating example for Chapter 8 to include attribute debugging