Encapsulating global vars (for clarity when using within functions/nested blocks)