Define variables once
Merge pull request #20 from andreypopp/master

Define variables once