Added some comments & did some cleaning.