Function checkDTS