working on indexer