added more comments.
added some comments