add delete snippet