Daemon implementation working for all three.