removed log statements, fixed dt