adding individuals group name to an array