fixed variable referencing, added newline
Merge pull request #4 from kbhat95/master

fixed variable referencing, added newline