                 }
                 
                 let twitterAccount = twitterAccounts[0] as! ACAccount
-                let swifter = Swifter(account: twitterAccount)
+                self.swifter = Swifter(account: twitterAccount)
                 
-                swifter.getHomeTimeline(count: 20, success: { statuses in
+                self.swifter.getHomeTimeline(count: 20, success: { statuses in
                     print(statuses)
                     guard let tweets = statuses.array else { return }
                     self.tweets = tweets.map {

    @IBOutlet weak var collectionView: NSCollectionView!
    
    let useACAccount = true
    dynamic var tweets: [Tweet] = []
    
    fileprivate func configureCollectionView(){

                    }
                    
                    self.collectionView.reloadData()
                    
                    Timer.scheduledTimer(timeInterval: 30, target: self, selector: #selector(self.update), userInfo: nil, repeats: true);
                    
                }, failure: failureHandler)
            }
        } else {
