[FEATURE] add mapping with dynamic templates