add iBeacon functions