added ingest/retrieve entity method