Added some extra code comments