At the competition, Babe meets the sheep that he will be herding, but they ignore his attempts to speak to them. As Hoggett is criticized by the bemused judges and ridiculed by the public for using a pig instead of a dog, Rex runs back to the farm to ask the sheep what to do. They give him a secret password, first extracting a promise that he will treat them better from now on. He returns in time to convey the password to Babe, and the sheep now follow his instructions flawlessly. Amid the crowd's acclamation, he is unanimously given the highest score. While he sits down next to the farmer, Hoggett praises him with the standard command to sheep dogs that their job is done, "That'll do, Pig. That'll do."