modifying notify