GUTHRIE, Okla. (UPI) -- An Oklahoma woman's effort to teach her toddler daughter a simple song about dialing 911 in an emergency paid off when the mother fainted.

Jessica Eaves got her daughter, Madelyn, 3, to sing "911 green, 911 green," The Oklahoman reported. When Madelyn saw her mother unconscious, she picked up her mother's BlackBerry and picked out 911 and the green button.

Once Madelyn was on the phone with a dispatcher May 27, emergency workers were able to identify the block where she lived. She remained on the phone for 11 minutes with dispatchers asking her about her parents' cars and other items that would lead the ambulance crew to the right house.

Eaves, who is pregnant, suffers from a medical condition that puts her at high risk of fainting. Last year, when she fainted during an earlier pregnancy, Madelyn got help by pushing the green button, which connected her to the last person to whom her mother had talked.

"I was ecstatic," Eaves said when she learned of her daughter's latest intervention. "I could not believe a 3-year-old girl was able to think that fast and that clearly."