making promise enrichment process more dynamic