base changes to templates