         super.viewDidLoad()
         loadJobs()
         loadBuilds()
+        
+        registerForPreviewing(with: self, sourceView: tableView)
+        
+        title = "Favorites"
     }
     
     //MARK: - Data loading and presentation

        
        return cell
    }


    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}

    //MARK: - View controller navigation
    
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        if segue.identifier == Constants.Identifiers.showJobSegue, let row = sender as? Int{
            prepareViewController(viewController: segue.destination, row: row, type: .job)
        }
        else if segue.identifier == Constants.Identifiers.showBuildSegue, let row = sender as? Int{
            prepareViewController(viewController: segue.destination, row: row, type: .build)
        }
    }
    
    func prepareViewController(viewController: UIViewController, row: Int, type: Favorite.FavoriteType){
        if type == .job, let dest = viewController as? JobViewController{
            dest.job = jobs[row].job
            dest.account = jobs[row].account
        }
        else if type == .build, let dest = viewController as? BuildViewController{
            dest.build = builds[row].build
            dest.account = builds[row].account
        }
