PHILADELPHIA (CBS) — Advancements in technology may mean consumers won’t have to smell if milk has gone bad.

Using 3D printing, scientists created a plastic cap embedded with electronics to wirelessly monitor milk’s freshness.

READ MORE: Family, Friends Hold Candlelight Vigil For Slain Temple University Student Samuel Collington

The findings were published in the journal Microsystems & Nanoengineering.

READ MORE: Jolly Trolley And Main Street Light Spectacular Bring Joy To Manayunk Following Ida Flooding, Pandemic

The article states, “The sensor detects shifts in liquid dielectric constant signals to warn consumers about potential food safety issues.”

MORE NEWS: Fantasy Football Start Or Sit Week 13: Elijah Mitchell Looks To Take Advantage Of Seahawks' Defense

The new technology could also make it possible for shoppers to check the freshness of shelved food from their cell phone.