add list of groups and basic template