second commit, finished adding comments to code