plumbing in template