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.
Mumbai Roundup: 9 incidents that took place this week
Photos: Ajay Devgn, Parineeti, Tabu at 'Golmaal Again' trailer launch
Photos: Dipika Pallikal Karthik oozes oomph in bikinis and sarees
Photos: Kareena Kapoor Khan's grand birthday bash
Photos: 'Dangal' girls Sanya Malhotra, Fatima Sana Shaikh's dinner outing