Fixed a typo and added some comment.