modification in query