Remove duplication by using existing functions of DTITCFunctions.h