When I ran the debugger and added a watch it said: not in scope (when I was inside of foo())!