acutally query documents, don't iterate
tweaks