working with notify