adapting for new numbering scheme of ntuples