Added ability to delete nodes