changed name from index2 to query1