daemon status refactored