added ingest hook