Added some comments and removed unused data.