moved variable declaration outside case
Merge pull request #11 from fmw-jk/master

moved variable declaration outside case