added the indexer