corrected some comments and added a few new ones.