slight change in retrieving global environment