adding globals example