restored queries