not extensively tested, but looks like it deletes too