Added some comments and descriptions