Fixed undefined names variable error
Merge pull request #8 from tdawe/fix-undefined-names-variable

Fixed undefined names variable error