     }
     
     
-    static func patchInstitution(accessToken: String, username: String, password: String, pin: String, callBack: (response: NSHTTPURLResponse, data: [String: AnyObject]) -> ()) {
+    static func patchInstitution(accessToken: String, username: String, password: String, pin: String, callBack: (response: NSHTTPURLResponse, data: [String : AnyObject]) -> ()) {
         let parameters = ["client_id" : clientIDToken,
                              "secret" : secretToken,
                            "username" : username,

                }
            }
            
            if let transactions = data?["transactions"] as? [[String : AnyObject]] {
                if let accounts = data?["accounts"] as? [[String : AnyObject]] {
                    if let accountData = accounts.first {
                        let plaidTransactions = transactions.map { PlaidTransaction(transaction: $0) }
                        callBack(response: response!, account: PlaidAccount(account: accountData), plaidTransactions: plaidTransactions, error: error)
                    }
                }
            }
            callBack(response: response!, account: nil, plaidTransactions: nil, error: nil)
        }

        }
    }
    
    
    static func plaidInstitutionWithID(id: String, callBack: (response: NSHTTPURLResponse?, institution: PlaidInstitution, error: NSError?) -> ()) {
        Alamofire.request(.GET, PlaidURL.institutions + "/\(id)").responseJSON {(request, response, data, error) in
            if let institution = data as? [String : AnyObject] {
                callBack(response: response, institution: PlaidInstitution(institution: institution), error: error)
            }
        }
    }
    
    
    static func loginToInstitution(institution: PlaidInstitution, username: String, password: String, pin: String, email: String, callBack: (response: NSHTTPURLResponse, responseData: [String: AnyObject]) -> ()) {
