this is the first version of Querier