impl of pnotify