dynamic templating of yaks working