refactored notify process