     // MARK: Connecting
     
     private func configureDeviceNetworkCredentials(completion: @escaping () -> Void) {
-        print("b")
         communicationManager = DeviceCommunicationManager()
         communicationManager?.configureAP(network: network) { [unowned self] result in
             self.communicationManager = nil

    override func viewDidAppear(_ animated: Bool) {
        super.viewDidAppear(animated)
        
        print("a")
        configureDeviceNetworkCredentials {
            print("c")
            self.connectDeviceToNetwork {
                print("e")
                self.waitForCloudConnection {
                    print("g")
                    self.checkForInternetConnectivity()
                }
            }

    }
    
    private func connectDeviceToNetwork(completion: @escaping () -> Void) {
        communicationManager = DeviceCommunicationManager()
        communicationManager?.connectAP { [unowned self] result in
            self.communicationManager = nil
