added a daemon code sample from SO