     }
     
     func widgetPerformUpdate(completionHandler: ((NCUpdateResult) -> Void)) {
-        
-        let siteURL = NSURL.wmf_URLWithDefaultSiteAndCurrentLocale()
         date = NSDate().wmf_bestMostReadFetchDate()
         mostReadFetcher.fetchMostReadTitlesForSiteURL(siteURL, date: date).then { (result) -> AnyPromise in
             

            let mode = context.widgetActiveDisplayMode
            widgetActiveDisplayModeDidChange(mode, withMaximumSize: context.widgetMaximumSizeForDisplayMode(mode))
        }
        
        widgetPerformUpdate { (result) in
            


class WMFTodayTopReadWidgetViewController: UIViewController, NCWidgetProviding {
    
    // Model
    let siteURL = NSURL.wmf_URLWithDefaultSiteAndCurrentLocale()
    var date = NSDate()
    var results: [MWKSearchResult] = []
    let articlePreviewFetcher = WMFArticlePreviewFetcher()
    let mostReadFetcher = WMFMostReadTitleFetcher()

    // Views & View State
    var snapshotView: UIView?
    @IBOutlet weak var headerView: UIView!
    @IBOutlet weak var headerLabel: UILabel!
    @IBOutlet weak var stackView: UIStackView!
    let dateFormatter = NSDateFormatter.wmf_dayNameMonthNameDayOfMonthNumberDateFormatter()
    let cellReuseIdentifier = "articleList"
    var maximumSize = CGSizeZero
    var maximumRowCount = 3
    var headerHeight: CGFloat = 44
    var headerVisible = false
    
    // Controllers
    var articlePreviewViewControllers: [WMFArticlePreviewViewController] = []

    override func viewDidLoad() {
        super.viewDidLoad()
        
