Removed a global var from the example