minor comments edited