added local notify function