added some comments, changed some wording