Removed global
Merge pull request #1 from andrewshawcare/patch-1

Removed global