viewR query done