         super.viewDidLoad()
         
         self.dataSource = self
+        
+        if let stop = stop {
+            allStopContent = stop.stopPictures + (stop.youTubes ?? [])  // ?? is nil coalescing
+            // operator - If stop.youTubes is not nil it is unwrapped, otherwise the empty array is
+            // returned
+        }
+        
         let firstVC = viewControllerAtIndex(0)
         setViewControllers([firstVC!], direction: .Forward, animated: true, completion: nil)
         

        // Dispose of any resources that can be recreated.
    }
    
    func viewControllerAtIndex(index: Int) -> PictureContentViewController? {
        
        let storyboard = UIStoryboard(name: "Main", bundle: nil)
        let stopContentVC = storyboard.instantiateViewControllerWithIdentifier("stopContentVC") as! PictureContentViewController
        
        if let stop = stop {
            
            
            stopContentVC.picImageFileName = (stop.stopPictures[index])["picImage"]!
            stopContentVC.picText = (stop.stopPictures[index])["picText"]!
            stopContentVC.maxPages = stop.stopPictures.count
            
            
        } else {
            stopContentVC.picText = "No Stop Selected  abc"
        }
        stopContentVC.pageIndex = self.pageIndex
        
                
        return stopContentVC
        
    }
    


import UIKit

class MapPageViewController: UIPageViewController, UIPageViewControllerDataSource, PictureContentViewControllerDelegate {

    var stop: Stop?
        
    var pageIndex = 0
    
    var allStopContent = [[String: String]]()
    
    override func viewWillAppear(animated: Bool) {
        super.viewWillAppear(animated)
