setup ntuple