Modifications to SerialTransmit