adding quesries