serial output modification