added comments

added some comments which described things.