moved DTResponse to main lib