disabled warnings, moved nesc checking to addtraj