can we call it `addDeletedOrLocalIndex`