TODO: - allow nodes to be cleaned to be replaced by another node