add delete items function