     cell.tag = name.hashValue
     URLRequest.requestFor(path: "https://robohash.org/\(name)")
       .then {(request) -> Promise<Data> in
-          self.session.fetchData(from: request)
+        self.session.fetchData(from: request)
       }
       .then { (data) -> UIImage in
         guard let image = UIImage(data: data) else {

      // Add delay for better illustration
      .then{ (users) -> Promise<[User]> in
        let promise = Promise<[User]>()
        DispatchQueue.global(qos: .default).asyncAfter(deadline: .now() + 2.0) {
          promise.resolve(result: users)
        }
        return promise

  }
  
  @IBAction func pullToRefreshAction(_ sender: Any) {
    reloadData(delay: 2.0, errorSimulationCounter: 5)
//    oldReload()
//    reloadData()
  }
  
  func resetUsers() {
