the Correct Xbee code from previous commit