add var for local variables and remove debug code
Merge pull request #4 from jseagull/master

add var for local variables and remove debug code