add DAGS support.