working for ntuples v9.4, not yet tuned