You may have heard of vending machines or ATMs that give out gold bars or chocolate treats or potato chips. But a bakery in America has now come up with the world's first 24-hour "cup-cake machine".
The pink-coloured device at the Sprinkles Bakery in Beverly Hills in Los Angeles holds 595 of the tiny cup treats, a report said.
Customers can buy the cakes with their credit cards.
A touch-screen display lets people choose from a range of flavours, including chocolate marshmallow and cinnamon sugar.
For those who want the tasty treats during odd hours of the day, the machine is available 24 hours a day.
Photos: Katrina Kaif, Shamita Shetty at Mumbai airport
Photos: Varun Dhawan, Alia Bhatt promote 'Badri...' on 'Dil Hai Hindustani'
In pictures: 15 facts about kissing that will surprise you
Photos: Shahid Kapoor and Mira Rajput at cafe in Bandra
Photos: Deepika Padukone, Neha Dhupia and Soha Ali Khan at event