add template for taus and vertices