added deleteNode