added custom notify