added notification code