first in-progress attempt at adding node detachment