consolidated notify code