revise the query 5