Added missing declaration for dt