added comments for clarity
Merge pull request #8 from khoyee/master

added comments for clarity