Removing globals