refactored code.  Got rid of unneeded comments.