modified to not delete an exiting node