updated comments addded