         executeTasks(withQueue: pendingQueue)
     }
     
-    private func persistRequest(request: Request, inQueue queue: Queue) -> Queue? {
-        guard let savedQueue = saveRequest(request, withQueue: queue) else {
-            return nil
+    private func appendRequest(request: Request) {
+        let append = !requestsQueue(pendingQueue, containsRequest: request)
+        if append {
+            pendingQueue.append(request)
         }
-        return savedQueue
-    }
-    
-    private func appendRequest(request: Request, queue: Queue) -> Queue {
-        var newQueue = queue
-        let append = !requestsQueue(queue, containsRequest: request)
-        if append {
-            newQueue.append(request)
-        }
-        return newQueue
     }
     
     private func requestsQueue(queue: Queue, containsRequest request: Request) -> Bool {

                switch response {
                case .Success(_):
                    self.persist(queue: tasksQueue)
                    break
                case .Failure(_):
                    break

        return queue
    }
    
    private func saveRequest(request: Request) {
        
        var newQueue = pendingQueue
        var dictionary:JSON?
        
        if let task = request.task {
