         
         if let dictionary = photoDict,
             let photoData = dictionary[NextLevelPhotoJPEGKey] {
-            var album: PHObjectPlaceholder? = nil
+
             PHPhotoLibrary.shared().performChanges({
                 
-                let changeRequest = PHAssetCollectionChangeRequest.creationRequestForAssetCollection(withTitle: "Next Level")
-                album = changeRequest.placeholderForCreatedAssetCollection
-                
-                }, completionHandler: { (success1: Bool, error1: Error?) in
+                let albumAssetCollection = self.albumAssetCollection(withTitle: CameraViewControllerAlbumTitle)
+                if albumAssetCollection == nil {
+                    let changeRequest = PHAssetCollectionChangeRequest.creationRequestForAssetCollection(withTitle: CameraViewControllerAlbumTitle)
+                    let _ = changeRequest.placeholderForCreatedAssetCollection
+                }
+                
+            }, completionHandler: { (success1: Bool, error1: Error?) in
                     
-                    if success1 == true {
-                        if let photoAlbum = album {
-                            let fetchResult = PHAssetCollection.fetchAssetCollections(withLocalIdentifiers: [photoAlbum.localIdentifier], options: nil)
-                            let assetCollection = fetchResult.firstObject
-                            
-                            PHPhotoLibrary.shared().performChanges({
-                                if let collection = assetCollection {
-                                    if let photoImage = UIImage(data: photoData as! Data) {
-                                        let assetChangeRequest = PHAssetChangeRequest.creationRequestForAsset(from: photoImage)
-                                        let assetCollectionChangeRequest = PHAssetCollectionChangeRequest(for: collection)
-                                        assetCollectionChangeRequest?.addAssets([assetChangeRequest.placeholderForCreatedAsset] as NSArray)
-                                    }
+                if success1 == true {
+                    if let albumAssetCollection = self.albumAssetCollection(withTitle: CameraViewControllerAlbumTitle) {
+                        PHPhotoLibrary.shared().performChanges({
+                            if let photoImage = UIImage(data: photoData as! Data) {
+                                let assetChangeRequest = PHAssetChangeRequest.creationRequestForAsset(from: photoImage)
+                                let assetCollectionChangeRequest = PHAssetCollectionChangeRequest(for: albumAssetCollection)
+                                assetCollectionChangeRequest?.addAssets([assetChangeRequest.placeholderForCreatedAsset] as NSArray)
+                            }
+                        }, completionHandler: { (success2: Bool, error2: Error?) in
+                                if success2 == true {
+                                    let alertController = UIAlertController(title: "Photo Saved!", message: "Saved to the camera roll.", preferredStyle: .alert)
+                                    let okAction = UIAlertAction(title: "OK", style: .default, handler: nil)
+                                    alertController.addAction(okAction)
+                                    self.present(alertController, animated: true, completion: nil)
                                 }
-                                }, completionHandler: { (success2: Bool, error2: Error?) in
-                                    if success2 == true {
-                                        let alertController = UIAlertController(title: "Photo Saved!", message: "Saved to the camera roll.", preferredStyle: .alert)
-                                        let okAction = UIAlertAction(title: "OK", style: .default, handler: nil)
-                                        alertController.addAction(okAction)
-                                        self.present(alertController, animated: true, completion: nil)
-                                    }
-                            })
-                        }
-                    } else if let _ = error1 {
-                        print("failure capturing photo from video frame \(error1)")
+                        })
                     }
+                } else if let _ = error1 {
+                    print("failure capturing photo from video frame \(error1)")
+                }
                     
             })
         }

        
        if let dictionary = photoDict,
            let photoData = dictionary[NextLevelPhotoJPEGKey] {
            var album: PHObjectPlaceholder? = nil
            PHPhotoLibrary.shared().performChanges({ 
                
                let changeRequest = PHAssetCollectionChangeRequest.creationRequestForAssetCollection(withTitle: "Next Level")
                album = changeRequest.placeholderForCreatedAssetCollection
                
            }, completionHandler: { (success1: Bool, error1: Error?) in
                
                if success1 == true {
                    if let photoAlbum = album {
                        let fetchResult = PHAssetCollection.fetchAssetCollections(withLocalIdentifiers: [photoAlbum.localIdentifier], options: nil)
                        let assetCollection = fetchResult.firstObject
                        
                        PHPhotoLibrary.shared().performChanges({
                            if let collection = assetCollection {
                                if let photoImage = UIImage(data: photoData as! Data) {
                                    let assetChangeRequest = PHAssetChangeRequest.creationRequestForAsset(from: photoImage)
                                    let assetCollectionChangeRequest = PHAssetCollectionChangeRequest(for: collection)
                                    assetCollectionChangeRequest?.addAssets([assetChangeRequest.placeholderForCreatedAsset] as NSArray)
                                }
                            }
                        }, completionHandler: { (success2: Bool, error2: Error?) in
                            if success2 == true {

                }
                
            })
        
        }
        
    }
