made slight change to templates