excellent example of functional scope and global scope!