                 let peripherals = self.centralManager.retrievePeripherals(withIdentifiers: peripheralIds)
                 
                 for peripheral in peripherals {
+                    guard let peer = peerManager.getSavedPeer(withId: peripheral.identifier) else { continue }
+                    
                     peripheral.delegate = self
-                    
-                    let peer = ClinkPeer(peripheral: peripheral)
+                    peer.peripheral = peripheral
                     
                     if let i = self.connectedPeers.index(where: { $0.id == peripheral.identifier }) {
                         self.connectedPeers[i] = peer

            
            self.connectedPeers.remove(at: i)
        }
    }
}


        if self.centralManager.state == .poweredOn { return fn(OpperationResult.success(result: ())) }
        
        var attempts = 0
        Timer.scheduledTimer(withTimeInterval: 1, repeats: true) { timer in
            attempts += 1
            
