Try refactoring of sp_notify