change each ennumerable to find_all in CommandInterpreter