Adding some improvements to speech recognition