simpler approach to node removal