recognizer works