Code for DTC wrapper function containing all the DTC funtions is complete.