slight edit to templates