added TID console output for debugging of dupes