add serial.write