changes in query 2