add initNotifications method