Added local declaration
Merge pull request #56 from mpeterv/fix-local-declaration

Added local declaration