improved notify