working version of notification