sending nodes to the controller