added notifications that display if the danger value is greater than teh threshold