updated ntuple, added warning option