working version of NotificationService