remove globals
Merge pull request #1 from jden/remove-globals

remove globals