Added comemnts in code