started refactoring the processing notification