     override func drawRect(rect: CGRect) {
         super.drawRect(rect)
         
-        let progressView = NSBundle.mainBundle().loadNibNamed("CampaignGoalView", owner: self, options: nil)[0] as! CampaignGoalView
-
+        progressView = NSBundle.mainBundle().loadNibNamed("CampaignGoalView", owner: self, options: nil)[0] as! CampaignGoalView
+        
         self.containerView.addSubview(progressView)
         self.containerView.bringSubviewToFront(progressView.progress)
-
+        
         let frameSize = progressView.frame
         progressView.frame = CGRectMake(progressView.frame.origin.x, self.frame.size.height - frameSize.height, self.frame.size.width, frameSize.height)
         

class CampaignCell: UICollectionViewCell {
    
    var campaign: Campaign?

    @IBOutlet weak var containerView: UIView!
    @IBOutlet weak var imageView: UIImageView!

        campaign?.mainMedia.image({ (image) -> Void in
            weakSelf.imageView.image = image
        })
        
        progressView?.campaign = campaign
    }

}
