Cooking with Oil

I just cooked fried potatoes and onions for the first time. I’ve always wondered what happened to all of that oil in the pan with the potatoes and now I know…It pops out of the pan and all over my kitchen cabinets, stove, floor, Philo, Jack, my shoes, blue jeans, shirt and Kitty Kat Kathleen.