started to implement serial port