generalized population of templates