Got the runs and can't find a loo? Keep calm, we now have pants that will be able to predict when you need the loo.
Dfree is a device that discreetly fits in your underwear and monitors your bowel movements.
It was initially created by a Japanese firm to help elderly members of the community who experience faecal incontinence.
However, it was unveiled at the Combined Exhibition of Advanced Technologies (CEATEC) in Tokyo last week as something that everyone can use.
Created by Triple W, a tech firm in Japan, the device uses ultrasound to monitor bowel movements and send feedback to smartphones.
"This device predicts faecal excretion. The device goes on your stomach and uses ultrasonic waves to monitor your internal organs and sends the data to smartphones to be displayed," said Ryohei Ochiai, of Triple W, told Reuters.
- Underwear For Smartphones Now Available In Japan (VIDEO)
- Google And Levi's Project Jacquard Is Turning Your Jeans Into Wearable Computers
- Sports Bra With Intel Curie Chip Revolutionses Sportswear By Responding To Temperature And Sweat
- This Fabric Could Charge Your Gadgets
- The Swatch Smart Watch Won't Need To Be Charged
While this could help adults avoid embarrassing accidents, especially after a night of bad curry, the smart gadget could also help parents who are potty training their children.
"We are still in the process of looking at whether to use tape or belts to secure the device to the stomach. However, many elderly people are concerned about skin chafing. So we are looking at how to secure the device safely and solidly," Ochiai said.
An exact date for when we'll be able to buy this nifty little device has not yet been confirmed but it could be available for purchase around spring next year.