Guided by the Star of Bethlehem, the wise men found the baby Jesus in a house; Matthew does not say if the house was in Bethlehem. They worshiped him, and presented him with "gifts of gold and of frankincense and of myrrh." (2.11) In a dream they are warned not to return to Herod, and therefore return to their homes by taking another route. Since its composition in the late 1st century, numerous apocryphal stories have embellished the gospel's account. Matthew 2:16 implies that Herod learned from the wise men that up to two years had passed since the birth, which is why all male children two years or younger were slaughtered.