When it comes to getting a handle on stress eating, a bra from Microsoft could offer personalized, er, support. Researchers from Microsoft have developed technology that provides users personalized “just-in-time” interventions and the potential to change their stress-eating ways.

It turns out that bras, designed to be worn around the chest for extended periods of time, are the perfect garments to outfit with sensors that monitor heart rate, skin temperature, and other bio-signals. As a result, this sensor-laden “just-in-time” bra is the first to know when its wearer’s stress levels spike. And when they do, she gets a smartphone notification letting her know she’s stressed, and perhaps more likely to reach for the nearest cronut. Talk about a wonder-bra — the researchers reported that they were able to able to accurately predict physiological changes that lead to stress-eating. They’re planning more research to explore whether the system facilitates long-term change by helping users change their emotional eating habits.

Not to worry, non-bra-wearing friends — a bracelet with the same capabilities is also in the works.