trying to get the daemon to work