Naming this deleteIndex would be better imho