match quality using ranks to standardize