why not to use global scope