Replace createGroup with joinGroup