add v5 template - implement workaround for vstemplate matching