replace nconc by appendable lists for groups
replace nconc by appendable lists for groups