Fixed typo. Added comments.