Removed unnecessary code, collapsed multiple var-statements.
Merge pull request #3 from plutov/patch-1

Removed unnecessary code, collapsed multiple var-statements.