implement querying by multiple values