temp commit, contains code from test_indexer
cleaned up, need to fix scope issues
add func to unpack tuple for map_async
add debug prints