             self.requestPool.removeRequestsWithURL(URL)
         }
     }
+
+    // MARK: API
 
     public class func retrieveAvatar(avatar: Avatar, completion: Completion) {
 


                    dispatch_async(dispatch_get_main_queue()) {
                        completion(image)
                        print("use local image")
                    }

                } else {


                        self.cache.setObject(avatarImage, forKey: request.key)

                        // save images to local

                        request.avatar.saveOriginalImage(image, styledImage: avatarImage)
                    }
