further example of global variable impact on global scope