added collections to templates