functiolity with global notifications