merged query1