         let widthInPixels = floor(frame.width * UIScreen.main.scale * horizontalTargetOverdraw)
         let heightInPixels = frame.height * UIScreen.main.scale * horizontalTargetOverdraw // TODO: Vertical target overdraw?
 
-        let waveformRenderTask = FDWaveformRenderTask(audioContext: audioContext) { image in
+        let waveformRenderOperation = FDWaveformRenderOperation(audioContext: audioContext) { image in
             DispatchQueue.main.async {
+                print("done")
                 self.waveformImage = image
                 self.cachedSampleRange = renderSampleRange
                 self.renderingInProgress = false

    }
    
    private func finish(with image: UIImage?) {
        // TODO: nil this out or use a finished flag to not call this mulitple times?
        completionHandler(image)
    }
    
    private func render() {

            let audioContext = audioContext
            else { return }

        print("rendering")
        
        renderingInProgress = true
        delegate?.waveformViewWillRender?(self)
        
