The psychology of removing group members and recruiting new ones