moved DTParams to main lib