add notify when generating