Gates are important thresholds just like doors. Controlling the entry and exit does wonders for reminding your dog who is in charge both inside and outside the yard.