adding basic node transmit function