One couple got the shock of a lifetime when they learned their new baby's sex wasn't what they expected.
Throughout her pregnancy, Kim Guiley of Santa Cruz, California, had been certain the baby, her second child, was a girl, even though she and husband Travis were hoping for a son.

"I kind of talked myself into it," Guiley, 28, told TODAY. "I guess it's the power of persuasion! And I should know better because I'm a doula, and I work with babies and births, and I know you can never have any expectations about anything."
"I was really sick with this pregnancy, and there's a correlation between sickness and having girls, so I think that partially contributed, too," she added. "And my 2-year-old daughter thought it was a girl. I had all these silly reasons."
RELATED: Boy, girl, or rainbow? Gender-reveal party goes hilariously wrong

Now photos of the moment the couple found out they were wrong during the July birth, captured by photographer Susannah Gill, have caught the attention of the internet.
RELATED: Photographer captures mom's surprise when she delivers boy
"I opened his legs and was just shocked," Guiley said. "I mean, you saw the look on my face — you can't make up that look. It was very surprising, and I didn't realize how much I was hoping for a boy until that moment."

Guiley, who blogged about her home birth, added that she experienced a miscarriage in 2015, and she suspects that's also part of the reason she had opted out of learning the baby's sex.
"After the miscarriage, I was just really attached to having a healthy baby, regardless of sex," she said. "My husband wanted to find out, and I said, 'No, let's have fun with it.' During the ultrasounds, we got to look when they showed us the head and upper body, and as soon as they got mid-baby, we would look away."
Guiley and her husband were thrilled when they saw the photos.

"I was just in hysterics," she said. "We were cracking up. That face! I don't even think I could replicate that face. I was truly, truly shocked."
RELATED: Baby born on a plane earns 1 million airline points
She said the photos "extend the celebration" of welcoming their son, Theo, into the family.
"He's such a joy," Guiley said. "His sister is so enamored with him. I just really feel like our family is complete."