Added microphone variables  + update code