first pass
capFlag rules are sorting