The man is giving rewards and commands to the dog.