working on handling the notification