Indexing and select done.