changed XBee to ZigBee, added callback function and imported pdb for interactive debugging