         self.touching = false
         
         //println("[stopping recording] duration :\(CMTimeGetSeconds(self.recordStartTime))")
-        
         self.assetWriterInputVideo.markAsFinished()
         self.assetWriterInputAudio.markAsFinished()
         self.assetWriter?.endSessionAtSourceTime(self.recordStartTime)

                println("AVAssetWriterStatus.Completed")
            }
            
            //CFRelease(sampleBuffer);
            //CFRelease(formatDescription);
            
        }
        
    }

        let fileName = String(format: "output%02d.mov", arguments: [self.movieURLs.count + 1])
        let outputPath = NSTemporaryDirectory().stringByAppendingString(fileName)
        self.outputURL = NSURL(fileURLWithPath: outputPath)
        
        // delete file before save the one
        let fileManager = NSFileManager.defaultManager()
