made ingest mapping optional.