to properly read ntuples