Managing group and intergroup relations