i would probably change this function name to something more human readable like `changeSocketGroup` or `changeGroup`