Changed name of boolean global to isGlobal to designate a scope resolution check more intuitively