added transmit serial write