New York's 24-hour cupcake ATM

A 24 hour cupcake vending machine has opened in New York.

The ATM holds up to 800 cakes.

It is open around the clock so that even if the bakery is closed, hungry shoppers can still get their hands on a cake... delicious!

Watch more Newsround videos