implemented basic speech recognition support