He banged the edge of the pen with the stick to scare the ones in the pen further away from the door and then when the rest were close enough he opened the door and guided them inside. He keeps an eye on the ones in the pen to make sure nothing gets too chaotic.
no subject