use better way to determine  sheep teams