add separate open() method for serialport class