pull out groups
group example is working