generating notifications model