added the actual code to send the notification