            
            //3 when is code runs, the data task is completed. We need to remove this task from the dictionary
            defer {self.remove(uuid)}
            
            //4
            if let data = data, let image = UIImage(data: data) {
                self.setLoadedImage(image, for: url)