Added appropriate comments.