Demonstration of scope problem