add and remove of nodes now work