implemented CMI  return an UserInput object which  command=="cmi"   index == an integer