Added appropriate comments