added method "delete node"