Preheat the oven to 220C/Gas 7/fan oven to 200C.
Peel and thickly slice the potatoes, then boil in salted water for 8-10 minutes, until they are tender. Drain and put aside.
Whilst the potatoes are cooking, place a saute pan on a medium heat and add finely chopped onion and fry in olive oil for five minutes.
Then add the garlic and fry for a further couple of minutes.
Add sliced bacon and cook until the bacon is coloured.
Remove the pan from heat and add milk. Mix thoroughly.
Layer half of the potatoes in a buttered ovenproof dish.
Add half of the bacon, onion, garlic, and milk mixture.
Add half of the cubed cheese.
Add the rest of the potatoes and cover with the remaining cubed cheese.
Bake for around 10-12 minutes until golden.