     
     func browser(_ browser: MCNearbyServiceBrowser,
                  didNotStartBrowsingForPeers error: Error) {
-        NSLog("%@", "didNotStartBrowsingForPeers: \(error)")
+        print("%@", "didNotStartBrowsingForPeers: \(error)")
     }
     
     func browser(_ browser: MCNearbyServiceBrowser,
                  foundPeer peerID: MCPeerID,
                  withDiscoveryInfo info: [String : String]?) {
-        NSLog("%@", "foundPeer: \(peerID)")
-        NSLog("%@", "invitePeer: \(peerID)")
+        print("%@", "foundPeer: \(peerID)")
+        print("%@", "invitePeer: \(peerID)")
         browser.invitePeer(peerID,
                            to: self.session,
                            withContext: nil,

        }
    }
    
    func startBrowsing() {
        browser = MCNearbyServiceBrowser(peer: myPeerId,
                                         serviceType: ServiceType)

    func session(_ session: MCSession,
                 didReceive data: Data,
                 fromPeer peerID: MCPeerID) {
        print("%@", "didReceiveData: \(data)")
        if let message = String(data: data,
                                encoding: .utf8) {
            self.delegate?.dataReceived(manager: self,
