made the notifications extern