solve NotificationAssignment2