At the factory, a man in a red coat, standing at a table with a dog, was training the dog.