try {
    return functions[methodName](...args);
  } catch (e) {
    throw new Error(
      `Operator Error: ${operator}.${methodName} - ${