adds listening to node