first try for ntuples