add and remove a node works