         print("Currency \(self.code) last selected at: \(NSDate())")
     }
     
-    private func getRecord(code: String) -> (name: String, code: String, rate: Double, locale: String?, symbol: String?, decimals: Int) {
+    private func getRecord(code: String) -> (
+            name: String,
+            code: String,
+            rate: Double,
+            locale: String?,
+            symbol: String?,
+            decimals: Int,
+            symbolPosition: String?,
+            useLocalization: Bool,
+            useSymbol: Bool,
+            useCustomSymbol: Bool) {
         // Start by showing the network indicator.
         UIApplication.sharedApplication().networkActivityIndicatorVisible = true
         

        let locale: String = currency.locale!
        let symbol: String = currency.symbol!
        let decimals: Int = Int(currency.decimals!)
        
        // Finish by hiding the network indicator.
        UIApplication.sharedApplication().networkActivityIndicatorVisible = false
        
        return(name, code, rate, locale, symbol, decimals)
    }
    
    private func updateRate() {

    func setTo(code: String, update: Bool = true, remember: Bool = true) {
        let currency = getRecord(code)
        self.code = currency.code
        self.rate = currency.rate
        self.locale = currency.locale
        self.symbol = currency.symbol
        self.decimals = currency.decimals
        self.symbolPosition = currency.symbolPosition
        self.useLocalization = currency.useLocalization
        self.useSymbol = currency.useSymbol
        self.useCustomSymbol = currency.useCustomSymbol
        if update {
            self.update()
        }
