Updated to use lastSentMessage to provide nodeId