added code to read from xbee and send to usb