         
         peripheral.delegate = self
         
-        let peer = Peer(peripheral: peripheral)
-        
         if let i = self.activePeripherals.index(where: { $0.identifier == peripheral.identifier }) {
             self.activePeripherals[i] = peripheral
         } else {

    public func getSavedPeer(withId peerId: UUID) -> ClinkPeer? {
        guard let peerDict = UserDefaults.standard.dictionary(forKey: peerId.uuidString) else { return nil }
        
        return ClinkPeer(dict: peerDict)
    }
    
    public func getSavedPeers() -> [ClinkPeer] {

        Clink.Configuration.dispatchQueue.async {
            task.delegate = nil
            
            let peer = Peer(id: peripheral.identifier)
            let peerManager = Clink.Configuration.peerManager ?? self
            
            peerManager.save(peer: peer)
