adding to templates