Added getClosestBeacon