The key was the focus on superordinate goals, those stretching beyond the boundaries of the group itself.
The key thing about each of them was that they involved superordinate goals: boys from both groups worked together to achieve something they all had an interest in.