WIP: ingestion pipeline