skeleton for indexer