globalvar example