added Node delete function