factor out base serial device object