making notifications work