Updated so that notifications are sent for first time.