digit recognizer - more R