changingvariable in query