first draft of assign groups