adding indexer