added logging to dt