implemented 1$ recognizer