revise query1