     let reason: String?
     let tick: Int?
     let correction: Double?
+    let predBGs: [Double]?
 
-    public init(timestamp: NSDate, rate: Double, duration: NSTimeInterval, eventualBG: Int, bg: Int, reason: String? = nil, tick: Int? = nil, correction: Double? = nil) {
+
+    public init(timestamp: NSDate, rate: Double, duration: NSTimeInterval, eventualBG: Int, bg: Int, reason: String? = nil, tick: Int? = nil, correction: Double? = nil, predBGs: [Double]? = nil) {
         self.timestamp = timestamp
         self.rate = rate
         self.duration = duration

            rval["correction"] = correction
        }


        return rval
    }

        self.reason = reason
        self.tick = tick
        self.correction = correction
        self.predBGs = predBGs
    }

    public var dictionaryRepresentation: [String: AnyObject] {

        var rval = [String: AnyObject]()
