Keeping cows comfortable on the farm