add delete feature and log feature