connection to serial