Implemented the notification system