If her Instagram is any indication, Taylor Swift's Fourth of July was freaking badass. She frolicked on the beach with friends, lounged on unicorn pool floats, and spent some quality time with Ed Sheeran—all while celebrating 'murica. But her most adorable patriotic moment was with friends in the kitchen, where they recreated Ina Garten's famous flag cake.

Tay and her closest girlfriends slathered a sheet cake with white buttercream, then covered it in blueberries and strawberries to resemble the American flag. The pop star then gleefully posted a photo mid-icing that reads: "Making our flag cake this morning because we're Barefoot Contessa fangirls. 2nd year in a row making @inagarten's famous recipe!"

Check out this stop-motion video of the girls at work:

And here's Ina's original:

Later, T. Swift and her gal pals lit it up with sparklers, making this cake one of the cutest red, white, and blue desserts there is. Maybe next year they'll add star-shaped watermelon to top it off.

Follow Delish on Instagram.