public void leave(String address) {
        for (int i = 0; i < size(); i++) {
            if (getNode(i).getAddress().equals(address)) {
                notifySuccessor(getSuccessor(getNode(i)), getNode(i).getKeys());
                nodeList.remove(i);
            }
        }
    }