draft of notification demo code