changed method passToOtherNode to broadcastDirection