prefer distinct to uniq for query methods