     let show = Show.shared
     
     var sting: Sting!
+    var hasSecurityScopedAccess = false
     var previewLength: [TimeInterval] = [0, 1, 2, 5, 10]
     
     @IBOutlet weak var titleLabel: UILabel!

    }
    
    override func viewWillDisappear(_ animated: Bool) {
        // the sting's cell will reload when previewed, so force a reload in case it wasn't previewed.
        NotificationCenter.default.post(name: .didFinishEditing, object: sting)
    }
    
    func updateLabels() {

        waveformView.progressColor = UIColor.tintColor.withAlphaComponent(0.5)
        
        // safely access the url
        hasSecurityScopedAccess = sting.url.startAccessingSecurityScopedResource()
        
        // render the waveform
        waveformView.audioURL = sting.url
