finished index select...i think