add notification code from previous projects