start on more general groupings for templates