             switch response.result {
             case .success:
                 guard let result = response.result.value as? [String : Any] else {
+                    print("Parsing Error")
                     return
                 }
                 guard let hits = result["hits"] as? [String : Any] else {
+                    print("Parsing Error")
                     return
                 }
                 

    }

    
    private func dictToJSON(data: [String : Any]) -> Data {
        let bodyJSON =   try! JSONSerialization.data(withJSONObject: data, options: JSONSerialization.WritingOptions.prettyPrinted)
        
        let json = NSString(data: bodyJSON, encoding: String.Encoding.utf8.rawValue)
        if let json = json {
            print(json)
        }
        
        let jsonData = json!.data(using: String.Encoding.utf8.rawValue);
        
        return jsonData!
    }
    
    private func extractData(rawData: [ElasticSearchData], field: String) {
        var average = 0
        var maximum = Int.min
        var minimum = Int.max

        }
    }
    
    static private func makeAssynchronousRequest(body: [String : Any], field: String, pages: Int) {
        
        let dispatchGroup = DispatchGroup()
        
