join a random group if none is specified
less magic in constants