separate functions for daust and daustd usage