Genesis 30:38

30:38 Then he set up the peeled branches in all the watering troughs where the flocks came to drink. He set up the branches in front of the flocks when they were in heat and came to drink.

Genesis 30:41

30:41 When the stronger females were in heat, Jacob would set up the branches in the troughs in front of the flock, so they would mate near the branches.