Added some code comments