chaged serial port to use message queue