to remove lot of xbee code