Changes to xbee parse code