added comments to remove method