replaced pnotify with smart package