generalize notifications