moved to notification to global