changed speech recognition validation