Chapter 10 Scope example