Are you a messy eater? Is ketchup for whatever reason incredibly attracted to the front of your t-shirts? University of California, Davis is working on a solution that could be designed just for you; a fabric that kills bacteria and breaks down compounds for all your fashion needs.

“The new fabric has potential applications in biological and chemical protective clothing for health care, food processing and farmworkers, as well as military personnel,” said Ning Liu, who conducted the work as a doctoral student in Professor Gang Sun’s group in the UC Davis Division of Textiles and Clothing.

Liu developed a method to incorporate a compound known as 2-anthraquinone carboxylic acid, or 2-AQC, into cotton fabrics. This chemical bonds strongly to the cellulose in cotton, making it difficult to wash off, unlike current self-cleaning agents. Unlike some other experimental agents that have been applied to cotton, it does not affect the properties of the fabric.

When exposed to light, 2-AQC produces so-called reactive oxygen species, such as hydroxyl radicals and hydrogen peroxide, which kill bacteria and break down organic compounds such as pesticides and other toxins.