yet another delete replacement