remove globals
Remove globals #2