worked on making the notifications work