delete function pourrie