simplified the NodeToSerial sketch