better doc for the notifyfunc