adding  queries