Remove global variable
Merge pull request #109 from dmfilipenko/master

Remove global variable