adding squery