added some comments
added more comments