How to Modify a Global Variable