scanning for beacons