better dt handling