add message notification in main