add yield to template