changes to templates