updated with jnotify