RECOGNIZE
if (command == RECOGNIZE && numitems > 0) {
command = RECOGNIZE;
if (command == RECOGNIZE) {