Added some comments, Changed tabs to 4 spaces