added comments
Merge pull request #47 from nicmitchell/master

Removed unnecessary variables