creating the groups