added public notify method