added new method 'add_serial_port'