Two men  both wearing hats  are attaching a red threshing machine to a pair of horses who are facing to the left  while they are all in a dirt field .