first pass on indexes