allow for init_indexer to pick an index by array idx