work in progress on revising batch ingest