add definition of daemon