change to `shouldDelete`