           cell.imageView?.image = image
           cell.setNeedsLayout()
         }
-      }
+    }
     
     return cell
   }
-
+  
+  
 }

        self.tableView.reloadData()
      }
      .onError { (error) in
        let alert = UIAlertController(title: "Network connection required!", message: error.localizedDescription, preferredStyle: .alert)
        alert.addAction(UIAlertAction(title: "Ok", style: .cancel, handler: nil))
        self.present(alert, animated: true, completion: nil)
    }
  }

  override func numberOfSections(in tableView: UITableView) -> Int {
    return users.count > 0 ? 1 : 0
  }

      // Add probability to fail
      .then{ (users) -> [User] in
        self.reloadCount += 1
        if 0 == self.reloadCount % errorSimulationCounter {
          self.title = "Error simulation"
          throw ViewControllerError.simulatedError
        }
        self.title = "Pull \(5 - self.reloadCount % errorSimulationCounter) more time to get error"
        return users
      }
      .onComplete { (_) in
