     
     static func authenticate(username: String, password: String,
                              completion: @escaping (TPAuthToken?, TPError?) -> Void) {
+        
         let parameters: Parameters = ["username": username, "password": password]
         apiCall(endpointProvider: TPEndpointProvider(.authenticateUser), parameters: parameters,
                 completion: { json, error in

    
    static func getExams(endpointProvider: TPEndpointProvider,
                         completion: @escaping (TPApiResponse<Exam>?, TPError?) -> Void) {
        apiCall(endpointProvider: endpointProvider, completion: {
            json, error in
            var testpressAuthToken: TPApiResponse<Exam>? = nil
            if let json = json {
                testpressAuthToken = TPModelMapper<TPApiResponse<Exam>>().mapFromJSON(json: json)
                print(testpressAuthToken?.results ?? "Error")
                guard testpressAuthToken != nil else {
                    completion(nil, TPError(message: json, kind: .unexpected))
                    return
                }
            }
            completion(testpressAuthToken, error)
        })
    }
    

            json, error in
            var attemptItem: AttemptItem? = nil
            if let json = json {
                attemptItem = TPModelMapper<AttemptItem>().mapFromJSON(json: json)
                debugPrint(attemptItem?.url ?? "Error")
                guard attemptItem != nil else {
                    completion(nil, TPError(message: json, kind: .unexpected))
