callCommand renamed to getCommandResult