added in query and speech synthesis / speech recognition