add global to context of declaration