added notification hook for feedback