Changed speech recognition to new format