make group_init work like other *_init's
no need for calloc(1,.. here, malloc is fine since we initialize