dynamic array to detect beacons