added params to startRecording