Added some inline code comments