working on reading beacons