now combines templates with per-node values
added new templates