setup for async indexing