Indexing through Thread