made ingest stateful