Preheat oven to 170c (fan).
Grease oven proof dish and foil to cover, with butter or cooking spray.
Heat some oil on a low heat in a pan and add the onions. Fry for 5mins.
Add a few tablespoons of stock, cover and leave to simmer for 2mins.
Add garlic and any extra veggies, fry for 3mins. Add few more tablespoons of stock, recover for 3mins.
Add the cream cheese. Mix to combine. Remove from heat.
Layer some potatoes in the oven proof dish. Spoon over some of the cream cheese mix. Add salt & pepper. Continue until all potatoes and cream cheese mix has been used.
Pour over remaining stock. Cover with foil and bake in the oven for 1hr. Remove foil and continue to bake until potatoes are cooked.
Eat, enjoy!
Serve with main dish and veggies of choice.