change notification function scope