added config and indexer