Improved NotifyProc