added serial port configuration