Finished basic indexing