Made a few changes. Wrote a more appropriate comment.