The dog was herding the sheep around the pen.