                 print("Could not get places")
                 return
             }
-            
+            UIApplication.shared.isNetworkActivityIndicatorVisible = false
         }
         
         // set dataTask

        guard let imageUrl = URL(string: url) else { return nil  }
        
        do {
            let imageData = try Data(contentsOf: imageUrl)
            
            guard let image = UIImage(data: imageData) else { return nil }

                print("Could not get reviews")
                return
            }
            UIApplication.shared.isNetworkActivityIndicatorVisible = false
        }
        
        // set dataTask
