adding assert for dt