How to use Global Variables?