     }
     
     func rwRecordingProgress(percentage: Double, maxDuration: TimeInterval, peakPower: Float, averagePower: Float) {
+        print("Recording progress")
         speakProgress.setProgress(Float(percentage), animated: true)
     }
     
     func rwPlayingBackProgress(percentage: Double, duration: TimeInterval, peakPower: Float, averagePower: Float) {
+        print("Playback progress")
         speakProgress.setProgress(Float(percentage), animated: true)
     }
     
     func rwAudioRecorderDidFinishRecording() {
         let rwf = RWFramework.sharedInstance
+        print("Finished recording")
         speakRecordButton.setTitle(rwf.isRecording() ? "Stop" : "Record", for: UIControlState.normal)
         speakProgress.setProgress(0, animated: false)
     }
     
     func rwAudioPlayerDidFinishPlaying() {
         let rwf = RWFramework.sharedInstance
+        print("Finished playing")
         speakPlayButton.setTitle(rwf.isPlayingBack() ? "Stop" : "Play", for: UIControlState.normal)
         speakProgress.setProgress(0, animated: false)
     }
     
     func rwGetProjectsIdTagsSuccess(data: NSData?) {
-        rwUpdateStatus(message: "Tags received")
+        print("Tags received")
         let dict = JSON(data: data! as Data)
         let tagsArray = dict["tags"]
         for (_, dict): (String, JSON) in tagsArray {
             let value = dict["value"]
-            rwUpdateStatus(message: "\(value)")
+            print("\(value)")
         }
     }
     func rwGetProjectsIdUIGroupsSuccess(data: NSData?) {
-        rwUpdateStatus(message: "UI Groups received")
+        print("UI Groups received")
         let dict = JSON(data: data! as Data)
         let uiGroupsArray = dict["ui_groups"]
         for (_, dict): (String, JSON) in uiGroupsArray {
             let header_text_loc = dict["header_text_loc"]
-            rwUpdateStatus(message: "\(header_text_loc)")
+            print("\(header_text_loc)")
         }
     }
 }

    @IBOutlet var speakPlayButton: UIButton!
    @IBOutlet var speakSubmitButton: UIButton!
    
    @IBAction func speakUpload(sender: UIButton) {
        RWFramework.sharedInstance.uploadAllMedia(tagIdsAsString: "")
    }
    
    @IBAction func speakTags(sender: UIButton) {
        //TODO show tags available
        //RWFramework.sharedInstance.editSpeakTags()
    }
    
    @IBAction func speakRecord(sender: UIButton) {
        speakProgress.setProgress(0, animated: false)
        let rwf = RWFramework.sharedInstance
        rwf.stop()

}

extension ViewController: RWFrameworkProtocol {

    //deprecated presently
    func rwUpdateStatus(message: String) {
        self.statusTextView.text = self.statusTextView.text + "\r\n" + message
        self.statusTextView.scrollRangeToVisible(NSMakeRange(self.statusTextView.text.lengthOfBytes(using: String.Encoding.utf8), 0))
