added createBeacon