added some comments
added comments