Finished compareTUD, working on compareTDI