Genesis 30:38-43
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.
30:39 When the sheep mated in front of the branches, they gave birth to young that were streaked or speckled or spotted.
30:40 Jacob removed these lambs, but he made the rest of the flock face the streaked and completely dark-colored animals in Laban’s flock. So he made separate flocks for himself and did not mix them with Laban’s flocks.
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.
30:42 But if the animals were weaker, he did not set the branches there. So the weaker animals ended up belonging to Laban and the stronger animals to Jacob.
30:43 In this way Jacob became extremely prosperous. He owned large flocks, male and female servants, camels, and donkeys.