add digit recognizer demo