added callback to notification.sendToAll