add notify method